package entity;

import java.util.List;

/**
 * 每一条检索结果
 * 
 * @author raymondwong
 *
 */
public class Reference {
  
  /**
   * 作者名称
   */
  public List<String> authors;
  
  /**
   * 出版日期
   */
  public String date;
  
  /**
   * 刊号,卷号
   */
  public String version;
  
  /**
   * 刊物名称
   */
  public String book;
  
  /**
   * 页数
   */
  public String page;
  
  public Reference(List<String> authors, String date, String version, String book, String page) {
    this.authors = authors;
    this.date = date;
    this.version = version;
    this.book = book;
    this.page = page;
  }

  public List<String> getAuthors() {
    return authors;
  }

  public void setAuthors(List<String> authors) {
    this.authors = authors;
  }

  public String getDate() {
    return date;
  }

  public void setDate(String date) {
    this.date = date;
  }

  public String getVersion() {
    return version;
  }

  public void setVersion(String version) {
    this.version = version;
  }

  public String getBook() {
    return book;
  }

  public void setBook(String book) {
    this.book = book;
  }

  public String getPage() {
    return page;
  }

  public void setPage(String page) {
    this.page = page;
  }

  @Override
  public String toString() {
    return authors + " " + book + " " + version + " " + date + " " + page;
  }
  
}
